package com.twu.biblioteca;


public class BibliotecaApp {

    public void run() throws ClassNotFoundException {
        main(null);
    }

    public static void main(String[] args) throws ClassNotFoundException {

        UserController userController = new UserController();
        userController.loginAction();

        Menu menu = new Menu("Main Menu");


        menu.add("List Books", "Book", "list");
        menu.add("Checkout a book", "Book", "checkout");
        menu.add("Return book", "Book", "devolve");

        menu.add("List movies", "Movie", "list");
        menu.add("Checkout a movie", "Movie", "checkout");
        menu.add("Return movie", "Movie", "devolve");
        menu.add("User information", "User", "show");

        menu.loop();





    }


}
